const API = {
  getListPage: param => {
    return $http.post(`/apis/nacos_proxy/namespace/list`, param).then(response => response.data);
  },
  deleteNamespace: param => {
    return $http.post(`/apis/nacos_proxy/namespace/delete`, param).then(response => response.data);
  },
  addNamespace: param => {
    return $http.post(`/apis/nacos_proxy/namespace/add`, param).then(response => response.data);
  },
  addNamespaceCopy: param => {
    return $http.post(`/apis/nacos_proxy/namespace/add_sub`, param).then(response => response.data);
  },
  findApplicationPage: param => {
    return $http.post(`/apis/mgt/application/findApplicationPage`, param).then(response => response.data);
  }
};
export default API;
